package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 广告表
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2019-11-19
 */
public class Advertisement implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 广告名称
	 */
	private String name;

	/**
	 * 关联课程表
	 */
	@TableField(value="course_id")
	private Integer courseId;

	/**
	 * 开始时间
	 */
	@TableField(value="start_time")
	private String startTime;

	/**
	 * 结束时间
	 */
	@TableField(value="end_time")
	private String endTime;

	/**
	 * 发布时间
	 */
	@TableField(value="submit_time")
	private String submitTime;

	/**
	 * 状态（-1-已注销 0-待审核 1-审核通过 2-已上架 3-已下架）
	 */
	private Integer status;

	/**
	 * 创建人
	 */
	@TableField(value="create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 文件类型（图片，视频）
	 */
	private String type;
	
	/**
	 * 文件路径
	 */
	@TableField(value="file_path")
	private String filePath;
	
	/**
	 * 展示时长
	 */
	@TableField(value="show_time")
	private String showTime;
	
	/**
	 * 排序
	 */
	private String sort;
	
	/**
	 * 审核类型
	 */
	@TableField(value="audit_type")
	private String auditType;
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCourseId() {
		return courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getShowTime() {
		return showTime;
	}

	public void setShowTime(String showTime) {
		this.showTime = showTime;
	}
	
	public String getSort() {
		return sort;
	}
	
	public void setSort(String sort) {
		this.sort = sort;
	}
	public String getAuditType() {
		return auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

}
